package events{
	import flash.events.Event;
	
	public class GameEvent extends Event{
		public static const BUILD_BAR_COMPLETE:String = "build_bar_complete";
		public static const SWF_LOADER_COMPLETE:String = "swf_loader_complete";
		public static const CLICK_BUILD_TYPE:String = "click_build_type";
		public static const CREAT_BUILD_VIEW:String = "creat_build_view";
		
		/**
		 *  当建筑物被单击时 显示升级框
		 */		
		public static const UPGRADEBAR_SHOW:String = "upgradebar_show";
		
		/**
		 * 添加塔的选择菜单 
		 */		
		public static const BUILDBAR_VIEW:String = "buildbar_view";
		
		/**
		 *  鼠标移动到塔上时
		 */		
		public static const ATTACK_RANGE:String = "attack_range";
		
		/**
		 *  清除攻击范围显示
		 */		
		public static const CLEAR_TOWERRANGE:String = "clear_towerrange";
		
		
		
		/**
		 *@空地被单击 
		 */		
//		public static const LANDIMG_CLICK:String = "landimg_click";
		
		public var obj:Object;
		public function GameEvent(type:String, _obj:Object=null, bubbles:Boolean=true, cancelable:Boolean=false){
			super(type, bubbles, cancelable);
			obj = _obj;
		}
	}
}
